package com.samuel.basics.bean;

import java.time.LocalDateTime;

/**
 * <p></p>
 *
 * @author aneng huang
 * @since 2021-01-16 13:16:55
 */
public class Menu {

    private String id;

    private LocalDateTime createDate;

    /**
     * 菜单名称
     */
    private String name;

    /**
     * 菜单地址
     */
    private String url;

    /**
     * 父菜单ID 0：顶级 其他：子菜单
     */
    private String pid;

    /**
     * 是否是菜单 1：菜单 2：按钮
     */
    private int menu;

    /**
     * 菜单图标
     */
    private String icon;

    /**
     * 排序， 越小越前
     */
    private int orderNum;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public LocalDateTime getCreateDate() {
        return createDate;
    }

    public void setCreateDate(LocalDateTime createDate) {
        this.createDate = createDate;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public String getPid() {
        return pid;
    }

    public void setPid(String pid) {
        this.pid = pid;
    }

    public int getMenu() {
        return menu;
    }

    public void setMenu(int menu) {
        this.menu = menu;
    }

    public String getIcon() {
        return icon;
    }

    public void setIcon(String icon) {
        this.icon = icon;
    }

    public int getOrderNum() {
        return orderNum;
    }

    public void setOrderNum(int orderNum) {
        this.orderNum = orderNum;
    }
}
